package com.app.util.db;

public class PoolConf {

	private String driver;
	private String url;
	private String user;
	private String password;

	/** 检查过期时间间隔 */
	private int checkTimes;

	/** 最大活动连接数 */
	private int maxActive;

	/** 在不使用的情况下，最大存活时间 */
	private int maxIdle;

	/** 默认的查询超时时间（毫秒） */
	private int defaultQueryTimeout;

	public int getDefaultQueryTimeout() {
		return defaultQueryTimeout;
	}
 
	public void setDefaultQueryTimeout(int defaultQueryTimeout) {
		this.defaultQueryTimeout = defaultQueryTimeout;
	}

	public String getDriver() {
		return driver;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getCheckTimes() {
		return checkTimes;
	}

	public void setCheckTimes(int checkTimes) {
		this.checkTimes = checkTimes;
	}

	public int getMaxActive() {
		return maxActive;
	}

	public void setMaxActive(int maxActive) {
		this.maxActive = maxActive;
	}

	public int getMaxIdle() {
		return maxIdle;
	}

	public void setMaxIdle(int maxIdle) {
		this.maxIdle = maxIdle;
	}

}
